package com.perfma.xtest.cmd;


import java.io.Serializable;
import java.util.Map;

/**
 * Created by xuxueli on 16/7/22.
 */
public class TriggerParam implements Serializable {
    private static final long serialVersionUID = 42L;

    private Long jobId;
    private long logDateTim;
    private String glueType;
    private String glueSource;
    private CallBackBiz callBackBiz;
    private String uniqueName;
    private Map<String, String> env;
    private JobType jobType;

    private long timeDelay;

    public long getTimeDelay() {
        return timeDelay;
    }

    public void setTimeDelay(long timeDelay) {
        this.timeDelay = timeDelay;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public long getLogDateTim() {
        return logDateTim;
    }

    public void setLogDateTim(long logDateTim) {
        this.logDateTim = logDateTim;
    }

    public String getGlueType() {
        return glueType;
    }

    public void setGlueType(String glueType) {
        this.glueType = glueType;
    }

    public String getGlueSource() {
        return glueSource;
    }

    public void setGlueSource(String glueSource) {
        this.glueSource = glueSource;
    }

    public CallBackBiz getCallBackBiz() {
        return callBackBiz;
    }

    public void setCallBackBiz(CallBackBiz callBackBiz) {
        this.callBackBiz = callBackBiz;
    }

    public String getUniqueName() {
        return uniqueName;
    }

    public void setUniqueName(String uniqueName) {
        this.uniqueName = uniqueName;
    }

    public Map<String, String> getEnv() {
        return env;
    }

    public void setEnv(Map<String, String> env) {
        this.env = env;
    }

    public JobType getJobType() {
        return jobType;
    }

    public void setJobType(JobType jobType) {
        this.jobType = jobType;
    }

    @Override
    public String toString() {
        return "TriggerParam{" +
                "jobId=" + jobId +
                ", logDateTim=" + logDateTim +
                ", glueType='" + glueType + '\'' +
                ", glueSource='" + glueSource + '\'' +
                ", callBackBiz=" + callBackBiz +
                ", uniqueName='" + uniqueName + '\'' +
                ", env=" + env +
                ", jobType=" + jobType +
                '}';
    }
}
